package com.kingmed.kmss.admin.modules.ums.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 后台流程角色与用户关联表（删掉）
 * </p>
 *
 * @author wyl
 * @since 2023-02-17
 */
@Getter
@Setter
@TableName("ums_bpmn_membership")
@ApiModel(value = "UmsBpmnMembership对象", description = "后台流程角色与用户关联表")
public class UmsBpmnMembership implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("流程角色ID")
    private Long groupId;

    @ApiModelProperty("流程角色Key")
    private String groupKey;

    @ApiModelProperty("用户ID")
    private Long adminId;

    @ApiModelProperty("用户名称")
    private String username;

    @ApiModelProperty("用户所属子公司")
    private Long adminBranchId;

    @ApiModelProperty("用户所属大区")
    private Long adminRegionId;

}
